package com.css.zfzx.fxpg.modules.rescue.repository;

import com.css.zfzx.fxpg.modules.rescue.repository.entity.FxRescueEntity;
import com.css.zfzx.fxpg.modules.rescue.viewobjects.FxRescueQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-12-02
 */
public interface FxRescueNativeRepository {

    Page<FxRescueEntity> queryFxRescues(FxRescueQueryParams queryParams, int curPage, int pageSize);

    List<FxRescueEntity> listFxRescues(FxRescueQueryParams queryParams);

}
